package com.tzz.service;

import com.tzz.entity.Station;
import com.tzz.exception.AddExistException;

import java.util.List;

public interface StationService {

    /**
     * 根据站点名或者站点ID查询站点
     * */

    List<Station> findStationsByNameId(Station station);
    void addStation(Station station) throws AddExistException;

    void changeStationStaus(Integer id);
}
